package Conf;

use strict;
use Config::IniFiles;

use base qw(Exporter);
use vars qw( @EXPORT @EXPORT_OK %EXPORT_TAGS );
our %constants;

BEGIN {
	# define Config::IniFiles object for future import option
	my $server_ini = Config::IniFiles->new( -file => "/test_project/lib/server.ini" );
	
	tie %constants, 'Config::IniFiles',( -file => "/test_project/lib/conf.ini" , -import => $server_ini ) or die "Couldn't read config file";
	@EXPORT = qw( %constants );
}

1;